package com.ysjy.course.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("报名表dto")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SignUpUserDto implements Serializable {

    @ApiModelProperty("上课")
    private int haveClassNum;
    @ApiModelProperty("请假")
    private int leaveNum;

    @ApiModelProperty("ID")
    private Long id;
    @ApiModelProperty("订单唯一标识")
    private String orderNumber;
    @ApiModelProperty("类型 1课程 2托管")
    private Integer signUpType;
    @ApiModelProperty("标题（课程、托管标题）")
    private String title;
    @ApiModelProperty("总金额(分)")
    private Integer amount;
    @ApiModelProperty("收费方式：0现金 1微信 2支付宝")
    private Integer payType;
    @ApiModelProperty("退款状态：0未退款 1已退款(0在班 1已退班)")
    private Integer refundStatus;
    @ApiModelProperty("退班时间")
    private Date refundTime;
    @ApiModelProperty("报名方式：1小程序报名  2平台补录")
    private Integer type;
    @ApiModelProperty("商品唯一标识 （课程、托管uniqueId）")
    private String goodNumber;
    @ApiModelProperty("家长ID")
    private Long userId;
    @ApiModelProperty("家长手机号")
    private String mobile;
    @ApiModelProperty("学校ID")
    private Long orgId;
    @ApiModelProperty("学校名称")
    private String orgName;
    @ApiModelProperty("学生ID")
    private Long studentId;
    @ApiModelProperty("学生姓名")
    private String stuName;
    @ApiModelProperty("学生年级名称")
    private String stuGradeName;
    @ApiModelProperty("学生班级名称")
    private String stuClassName;
    @ApiModelProperty("创建者")
    private Long createUserId;
    @ApiModelProperty("创建者名称")
    private String createUserName;
    @ApiModelProperty("状态 1启用 0禁用")
    private Boolean enabled;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;
}
